package com.ming.test.page.Abstracts;

public class Demo2 extends Demo1 {
    @Override
    public void doSomething() {
        System.out.println("实现了抽象类的方法");
    }

    public static void main(String[] args){
        Demo2 demo2 = new Demo2();
        demo2.doSomething();
    }
}